home *** CD-ROM | disk | FTP | other *** search
/ Mac Power 1996 June / MACPOWER-1996-06.ISO.7z / MACPOWER-1996-06.ISO / Apple関連 / OpenDoc J-1.0 / 3rd Party Components / Vautherin NotePad⁄Scrapbk / Sources / Sources / Include / NotePartPxy.h < prev    next >
Text File  |  1995-12-15  |  2KB  |  69 lines

  1. //========================================================================================
  2. //
  3. //    File:                NotePartPxy.h
  4. //    Release Version:    $ 1.0d10 $
  5. //
  6. //    Author:                フienne Vautherin - Apple Computer France
  7. //
  8. //========================================================================================
  9.  
  10. #ifndef NOTEPARTPROXY_H
  11. #define NOTEPARTPROXY_H
  12.  
  13. // ----- ODF Includes -----
  14.  
  15. #ifndef FWPROXY_H
  16. #include "FWProxy.h"
  17. #endif
  18.  
  19. #ifndef FWRECT_H
  20. #include "FWRect.h"
  21. #endif
  22.  
  23. //==============================================================================
  24. //    Forward declarations
  25. //==============================================================================
  26.  
  27. #if FW_LIB_EXPORT_PRAGMAS
  28. #pragma import on
  29. #endif
  30. class FW_CLASS_ATTR FW_CEmbeddingFrame;
  31. #if FW_LIB_EXPORT_PRAGMAS
  32. #pragma import off
  33. #endif
  34.  
  35. class FW_CLASS_ATTR CNotePart;
  36.  
  37. //==============================================================================
  38. //    class CNotePartProxy
  39. //==============================================================================
  40.  
  41. class FW_CLASS_ATTR CNotePartProxy : public FW_MProxy
  42. {
  43. //----------------------------------------------------------------------------------------
  44. //    Initialization/Destruction
  45. //
  46.   public:
  47.     CNotePartProxy(Environment* ev, CNotePart* part);
  48.     virtual ~ CNotePartProxy();
  49.  
  50. //----------------------------------------------------------------------------------------
  51. //    Inherited API
  52. //
  53.     virtual void         UsedShapeChanged(Environment* ev,
  54.                                   FW_CEmbeddingFrame* embeddingFrame,
  55.                                   ODFrame* odEmbeddedFrame);
  56.     
  57.     virtual ODShape*     FrameShapeRequested(Environment* ev, 
  58.                                         ODFrame* odEmbeddedFrame, 
  59.                                         ODShape* askedFrameShape);
  60.                                         
  61. //----------------------------------------------------------------------------------------
  62. //    Data Members
  63. //
  64. private:
  65.     CNotePart*            fPart;
  66. };
  67.  
  68. #endif
  69.